package com.healthcloud.controller.modules.patient;

import com.healthcloud.controller.modules.common.BaseController;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 月度统计
 */
@Controller
@RequestMapping("monthReport")
public class MonthReportController extends BaseController {

    @ApiOperation(value = "高血压病人列表")
    @RequestMapping(value = "/toBpPatients", method = RequestMethod.GET)
    public String toBpPatients(){
        setAttr();
        return "bus/monthReport/bpPatients";
    }

    @ApiOperation(value = "高血糖病人列表")
    @RequestMapping(value = "/toBsPatients", method = RequestMethod.GET)
    public String toBsPatients(){
        setAttr();
        return "bus/monthReport/bsPatients";
    }

    @ApiOperation(value = "高血压报表页面")
    @RequestMapping(value = "/toBpReport", method = RequestMethod.GET)
    public String toBpReport(){
        setAttr();
        return "bus/monthReport/bpReport";
    }

    @ApiOperation(value = "高血糖报表页面")
    @RequestMapping(value = "/toBsReport", method = RequestMethod.GET)
    public String toBsReport(){
        setAttr();
        return "bus/monthReport/bsReport";
    }

    @ApiOperation(value = "高血压日期弹窗")
    @RequestMapping(value = "/toBpDate", method = RequestMethod.GET)
    public String toBpDate(){
        setAttr();
        return "bus/monthReport/bpDate";
    }

    @ApiOperation(value = "高血糖日期弹窗")
    @RequestMapping(value = "/toBsDate", method = RequestMethod.GET)
    public String toBsDate(){
        setAttr();
        return "bus/monthReport/bsDate";
    }

}
